<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 209 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts209p0{position:absolute;left:106px;top:97px;}
 .ts209p1{position:absolute;left:352px;top:97px;}
 .ts209p3{position:absolute;left:665px;top:97px;}
 .ts209p7{position:absolute;left:106px;top:113px;}
 .ts209p8{position:absolute;left:706px;top:1026px;}
 .ts209p9{position:absolute;left:331px;top:1044px;}
 .ts209p13{position:absolute;left:335px;top:146px;}
 .ts209p16{position:absolute;left:335px;top:164px;}
 .ts209p18{position:absolute;left:335px;top:183px;}
 .ts209p22{position:absolute;left:335px;top:201px;}
 .ts209p24{position:absolute;left:335px;top:220px;}
 .ts209p27{position:absolute;left:335px;top:238px;}
 .ts209p29{position:absolute;left:335px;top:256px;}
 .ts209p32{position:absolute;left:335px;top:275px;}
 .ts209p34{position:absolute;left:335px;top:293px;}
 .ts209p35{position:absolute;left:106px;top:313px;}
 .ts209p37{position:absolute;left:335px;top:313px;}
 .ts209p38{position:absolute;left:335px;top:331px;}
 .ts209p41{position:absolute;left:335px;top:349px;}
 .ts209p42{position:absolute;left:335px;top:367px;}
 .ts209p43{position:absolute;left:335px;top:386px;}
 .ts209p44{position:absolute;left:335px;top:404px;}
 .ts209p45{position:absolute;left:335px;top:422px;}
 .ts209p46{position:absolute;left:335px;top:441px;}
 .ts209p48{position:absolute;left:335px;top:459px;}
 .ts209p50{position:absolute;left:335px;top:478px;}
 .ts209p51{position:absolute;left:106px;top:497px;}
 .ts209p53{position:absolute;left:335px;top:497px;}
 .ts209p54{position:absolute;left:335px;top:515px;}
 .ts209p55{position:absolute;left:335px;top:533px;}
 .ts209p56{position:absolute;left:335px;top:551px;}
 .ts209p57{position:absolute;left:335px;top:570px;}
 .ts209p59{position:absolute;left:335px;top:588px;}
 .ts209p60{position:absolute;left:335px;top:606px;}
 .ts209p62{position:absolute;left:335px;top:624px;}
 .ts209p63{position:absolute;left:335px;top:643px;}
 .ts209p64{position:absolute;left:335px;top:661px;}
 .ts209p65{position:absolute;left:335px;top:679px;}
 .ts209p67{position:absolute;left:335px;top:698px;}
 .ts209p68{position:absolute;left:335px;top:716px;}
 .ts209p69{position:absolute;left:335px;top:735px;}
 .ts209p70{position:absolute;left:335px;top:753px;}
 .ts209p72{position:absolute;left:335px;top:771px;}
 .ts209p73{position:absolute;left:106px;top:790px;}
 .ts209p75{position:absolute;left:335px;top:790px;}
 .ts209p76{position:absolute;left:335px;top:809px;}
 .ts209p78{position:absolute;left:335px;top:827px;}
 .ts209p79{position:absolute;left:335px;top:845px;}
 .ts209p80{position:absolute;left:335px;top:864px;}
 .ts209p81{position:absolute;left:335px;top:882px;}
 .ts209p82{position:absolute;left:335px;top:900px;}
 .ts209p83{position:absolute;left:335px;top:919px;}
 .ts209p85{position:absolute;left:335px;top:937px;}
 .ts209p87{position:absolute;left:335px;top:956px;}
 .ts209p88{position:absolute;left:106px;top:975px;}
 .ts209p90{position:absolute;left:335px;top:975px;}

 /* Font Styles */
 .ft0p209{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p209{font-weight:normal;}
 .ft2p209{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p209{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p209{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p209{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p209{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground209{position:absolute;left:97px;top:311px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index208.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;209 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index210.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground209><img src="./background209.png" width="639" height="744" border="0" alt=""></div>
<div class=ts209p0><span class="ft0p209"> </span></div>
<div class=ts209p1><span class="ft0p209">Gravitybox Schedule Primer<span class="ft1p209"> </span></span></div>
<div class=ts209p3><span class="ft0p209">Page 207&nbsp; </span></div>
<div class=ts209p7><span class="ft2p209"> </span></div>
<div class=ts209p8><span class="ft3p209"> </span></div>
<div class=ts209p9><span class="ft4p209">1998&#45;2004 Gravitybox Software LLC<span class="ft3p209"> </span></span></div>
<div class=ts209p13><span class="ft5p209">UseCategories &#45; determines the loading/saving state of </span></div>
<div class=ts209p16><span class="ft5p209">this collection </span></div>
<div class=ts209p18><span class="ft5p209">UseNoDropAreas &#45; determines the loading/saving state </span></div>
<div class=ts209p22><span class="ft5p209">of this collection </span></div>
<div class=ts209p24><span class="ft5p209">UseProviders &#45; determines the loading/saving state of </span></div>
<div class=ts209p27><span class="ft5p209">this collection </span></div>
<div class=ts209p29><span class="ft5p209">UseRooms &#45; determines the loading/saving state of this </span></div>
<div class=ts209p32><span class="ft5p209">collection </span></div>
<div class=ts209p34><span class="ft5p209"> </span></div>
<div class=ts209p35><span class="ft5p209">IsDayVisible </span></div>
<div class=ts209p37><span class="ft6p209">Function IsDayVisible(pdtDate As Date) </span></div>
<div class=ts209p38><span class="ft6p209">As Boolean </span></div>
<div class=ts209p41><span class="ft5p209"> </span></div>
<div class=ts209p42><span class="ft5p209">Given a date, this method will return a Boolean value </span></div>
<div class=ts209p43><span class="ft5p209">indicating if that date is in the viewable window. A </span></div>
<div class=ts209p44><span class="ft5p209">schedule may be much larger than the viewing window. </span></div>
<div class=ts209p45><span class="ft5p209">This method can be used in conjunction with the </span></div>
<div class=ts209p46><span class="ft5p209">ShowDay method to check if a particular date is visible </span></div>
<div class=ts209p48><span class="ft5p209">and if not bring it into the viewing window. </span></div>
<div class=ts209p50><span class="ft5p209"> </span></div>
<div class=ts209p51><span class="ft5p209">IsEnabledAreaByValues </span></div>
<div class=ts209p53><span class="ft6p209">Function IsEnabledAreaByValues(ByVal </span></div>
<div class=ts209p54><span class="ft6p209">dtDate As Date, ByVal lRoom As Long, </span></div>
<div class=ts209p55><span class="ft6p209">ByVal dtTime As Date, ByVal plLength As </span></div>
<div class=ts209p56><span class="ft6p209">Long, ByVal pbCheckTimeOnly As Boolean) </span></div>
<div class=ts209p57><span class="ft6p209">As Boolean </span></div>
<div class=ts209p59><span class="ft6p209"> </span></div>
<div class=ts209p60><span class="ft5p209">This method will return whether an area is enabled. </span></div>
<div class=ts209p62><span class="ft5p209">After setting up the NoDropAreas collection, you may </span></div>
<div class=ts209p63><span class="ft5p209">need to know if an appointment may be placed at a </span></div>
<div class=ts209p64><span class="ft5p209">specific position. This method will take date, room, </span></div>
<div class=ts209p65><span class="ft5p209">time, and length information and return True or False </span></div>
<div class=ts209p67><span class="ft5p209">whether this position is blocked. No error occurs if an </span></div>
<div class=ts209p68><span class="ft5p209">appointment is inserted inside of a NoDropZone </span></div>
<div class=ts209p69><span class="ft5p209">through code, but if the user may become confused if </span></div>
<div class=ts209p70><span class="ft5p209">he sees appointments in blocked areas.&nbsp; </span></div>
<div class=ts209p72><span class="ft6p209"> </span></div>
<div class=ts209p73><span class="ft5p209">IsRoomVisible </span></div>
<div class=ts209p75><span class="ft6p209">Function IsRoomVisible(pvRoom) As </span></div>
<div class=ts209p76><span class="ft6p209">Boolean </span></div>
<div class=ts209p78><span class="ft5p209"> </span></div>
<div class=ts209p79><span class="ft5p209">Given a room, this method will return a Boolean value </span></div>
<div class=ts209p80><span class="ft5p209">indicating if that room is in the viewable window. A </span></div>
<div class=ts209p81><span class="ft5p209">schedule may be much larger than the viewing window. </span></div>
<div class=ts209p82><span class="ft5p209">This method can be used in conjunction with the </span></div>
<div class=ts209p83><span class="ft5p209">ShowRoom method to check if a particular room is </span></div>
<div class=ts209p85><span class="ft5p209">visible and if not bring it into the viewing window. </span></div>
<div class=ts209p87><span class="ft5p209"> </span></div>
<div class=ts209p88><span class="ft5p209">IsTimeVisible </span></div>
<div class=ts209p90><span class="ft6p209">Function IsTimeVisible(pdtTime As Date) </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
